wayland: Don't unset the selected mimetype on drop_reply
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 18 Apr 2015 16:02:50 +0000 (18:02 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 18 Apr 2015 16:11:27 +0000 (18:11 +0200)
commit3a3f2e505a0c544eb0aba169d985bfb27844e857
treeb7986553f135232d926c648ccf29181aa8bd5d5e
parent42f096c846b813aedf92979ec438686c78168f62
wayland: Don't unset the selected mimetype on drop_reply

gdk_wayland_drop_context_set_status() can't do much else currently besides
picking a mimetype (the first one is currently chosen). This may incorrectly
unset the mimetype chosen on .receive(), so the transfer is cancelled before
it even starts.

At the time drop_reply happens, we should have already picked a mimetype
along the way, so only cover for accepted=FALSE in order to unset it.
gdk/wayland/gdkdnd-wayland.c